package com.anyou.mall.goo.goods.mapper;

import com.anyou.mall.goo.goods.domain.JfDraw;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 积分抽奖设置Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
public interface JfDrawMapper extends BaseMapper<JfDraw>
{
    /**
     * 查询积分抽奖设置
     * 
     * @param jfDrawId 积分抽奖设置主键
     * @return 积分抽奖设置
     */
    public JfDraw selectJfDrawByJfDrawId(Long jfDrawId);

    /**
     * 查询积分抽奖设置列表
     * 
     * @param jfDraw 积分抽奖设置
     * @return 积分抽奖设置集合
     */
    public List<JfDraw> selectJfDrawList(JfDraw jfDraw);

    /**
     * 新增积分抽奖设置
     * 
     * @param jfDraw 积分抽奖设置
     * @return 结果
     */
    public int insertJfDraw(JfDraw jfDraw);

    /**
     * 修改积分抽奖设置
     * 
     * @param jfDraw 积分抽奖设置
     * @return 结果
     */
    public int updateJfDraw(JfDraw jfDraw);

    /**
     * 删除积分抽奖设置
     * 
     * @param jfDrawId 积分抽奖设置主键
     * @return 结果
     */
    public int deleteJfDrawByJfDrawId(Long jfDrawId);

    /**
     * 批量删除积分抽奖设置
     * 
     * @param jfDrawIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJfDrawByJfDrawIds(Long[] jfDrawIds);
}
